package com.ruoyi.cs.base.supplier.service;

import com.ruoyi.cs.base.supplier.domain.SupplierInfo;

import java.util.List;

/**
 * 供应商信息
 * 业务层
 * @author Drj 2021/6/28
 */
public interface ISupplierInfoService {


    /**
     * 供应商信息查询
     * @param supplierInfo
     * @return
     */
    public List<SupplierInfo> selectSupplierInfoList(SupplierInfo supplierInfo);

    /**
     * 按编号查询
     * @param supplierInfoId 供应商信息编号
     * @return
     */
    public SupplierInfo selectSupplierInfoById(String supplierInfoId);
    /**
     * 供应商信息新增
     * @param supplierInfo
     * @return
     */
    public int insertSupplierInfo(SupplierInfo supplierInfo) throws Exception;

    /**
     * 供应商信息更新
     * @param supplierInfo
     * @return
     */
    public int updateSupplierInfo(SupplierInfo supplierInfo) throws Exception;

    /**
     * 更新供应商信息删除标志位
     * @param supplierInfo
     * @return
     */
    public int updateSupplierInfoDeleteFlag(SupplierInfo supplierInfo);



}
